package com.wheat.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 网关应用入口
 *
 * @author wheat on 2019/5/9.
 * @EnableZuulProxy：标识当前是zuul server
 * @SpringCloudApplication：组合@SpringBootApplicationcation+服务发现+熔断
 */
@EnableZuulProxy
@SpringCloudApplication
public class ServiceZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceZuulApplication.class, args);
    }

}
